crPEExportToExch

The crPEExportToExch function exports a print job to an Exchange folder.

Declare Function crPEExportToExch Lib "crwrap32.dll" (ByVal printJob As 
Integer, ByVal profile As String, ByVal Password As String, ByVal 
folderPath As String, ByVal FormatDLLName As String, ByVal formatType As 
Long, ByVal useNumFormat As Long, ByVal useDateFormat As Long, ByVal 
StringDelimiter As String, ByVal FieldDelimiter As String) As Integer
Parameters

printJob

Specifies the handle of the print job that you want to export.

profile

Specifies the Exchange profile.

Password

Specifies the Exchange password.

folderPath

Specifies the Exchange path where you want the program to place the exported file.

FormatDLLName

Specifies the pointer to the null-terminated string that contains the format DLL name. The DLL you use is determined by the format in which you want to export your report.

To export in this format Use this DLL


Crystal Reports Format

u2fcr.dll


Data Interchange Format

u2fdif.dll


Word for Windows Format

u2fwordw.dll


Report Definition Format

u2frdef.dll


Record Style Format (column of values)

u2frec.dll


Rich Text Format

u2frtf.dll


Comma Separated Values Format (CSV)

u2fsepv.dll


Tab Separated Values Format

u2fsepv.dll


Character Separated Values Format

u2fsepv.dll


Text Format (ASCII)

u2ftext.dll


Paginated Text Format (ASCII)

u2ftext.dll


Tab Separated Text Format

u2ftext.dll


Lotus 1-2-3 (WKS)

u2fwks.dll


Lotus 1-2-3 (WK1)

u2fwks.dll


Lotus 1-2-3 (WK3)

u2fwks.dll


Excel 2.1

u2fxls.dll


Excel 3.0

u2fxls.dll


Excel 4.0

u2fxls.dll


Excel 5.0

u2fxls.dll


HTML3 Format

u2fhtml.dll


Internet Explorer 2.0

u2fhtml.dll


Netscape 2.0

u2fhtml.dll

formatType

Specifies the type of format you want to use from those types supported by the selected DLL. Whether the FormatDLLName you select supports only one format type (for example, uxfcr.dll) or multiple format types (for example, uxfdoc.dll), you must still fill in this parameter. Select the format type you want to use from the table below:

To export a report in this format Use this formatType


Crystal Reports Format

crUXFCrystalReportType


Data Interchange Format

crUXFDIFType


Word for Windows Format

crUXFWordWinType


Report Definition Format

crUXFReportDefinitionType


Record Style Format (column of values)

crUXFRecordType


Rich Text Format

crUXFRichTextFormatType


Comma Separated Values Format (CSV)

crUXFCommaSeparatedType


Tab Separated Values Format

crUXFTabSeparatedType


Character Separated Values Format

crUXFCharSeparatedType


Text Format (ASCII)

crUXFTextType


Paginated Text Format (ASCII)

crUXFPaginatedTextType


Tab Separated Text Format

crUXFTabbedTextType


Lotus 1-2-3 (WKS)

crUXFLotusWksType


Lotus 1-2-3 (WK1)

crUXFLotusWk1Type


Lotus 1-2-3 (WK3)

crUXFLotusWk3Type


Excel 2.1

crUXFXls2Type


Excel 3.0

crUXFXls3Type


Excel 4.0

crUXFXls4Type


Excel 5.0

crUXFXls5Type


HTML3

crUXFHTML3Type


Internet Explorer 2.0

crUXFExplorer2Type


Netscape 2.0

crUXFNetscape2Type

Return Value

TRUE (1) if the call is successful, FALSE (0) if the call fails.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com